import instance from '@/api/http'

export const liebiao=(data)=>{
    return instance({
  method: 'GET',
  url: 'https://api-hmugo-web.itheima.net/api/public/v1/goods/search',
  params: {
   ...data
  }
});
}

// 详情
export const xiangqing=(goods_id)=>{
    return instance({
  method: 'GET',
  url: 'https://api-hmugo-web.itheima.net/api/public/v1/goods/detail',
  params: {
   goods_id
  }
});
}
